<?php $this->load->view('common/cms-head'); ?>
<article id="content">
    <div class="pgwrapper">
    <div class="w960 bg1 p15 bx_shw" style="width:1055px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td width="20%" style="border-right:2px solid #e5e5e5;" valign="top">
    <?php $this->load->view('enterprises/leftnavCMS'); ?>
  </td>
  <td width="80%" valign="top" style="padding:5px;">
  <table width="100%" border="1" cellpadding="5" cellspacing="0">
  <tr style="background-color:#f2f2f2;">
  	<td class="txt-blck"><strong>Store Name</strong></td>
  	<td class="txt-blck"><strong>User Name</strong></td>
    <td class="txt-blck"><strong>Coupon Title</strong></td>
    <td class="txt-blck"><strong>Coupon Desc</strong></td>
    <td class="txt-blck" nowrap="nowrap"><strong>Deep Link</strong></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <?php foreach ($couponArray as $codes){?>
  <tr>
  	<td class="txt-blck" valign="top"><?php echo $codes['store_name'];?></td>
  	<td class="txt-blck" valign="top"><?php echo $codes['user_username'];?></td>
    <td class="txt-blck" valign="top"><?php echo $codes['coupon_name'];?></td>
    <td class="txt-blck"><?php echo $codes['coupon_description'];?></td>
    <td class="txt-blck" align="center"><?php if($codes['coupon_affilateurl']!=''){?><a href="<?php echo $codes['coupon_affilateurl'];?>" target="_blank" class="link1">check</a><?php }?></td>
    <td align="center"><a href="/verifyCoupon/<?php echo $codes['coupon_id'];?>" class="link1">Verify</a></td>
    <td align="center"><a href="/rejectCoupon/<?php echo $codes['coupon_id'];?>" class="link1">Reject</a></td>
    <td align="center"><a href="/declineCoupon/<?php echo $codes['coupon_id'];?>" class="link1">Decline</a></td>
    <td align="center"><a href="/editCoupon/<?php echo $codes['coupon_id'];?>" class="link1">Edit</a></td>
  </tr>
  <?php } ?>
</table>
  </td>
</tr>
</table>
</div>
</div>
</article>
<div class="clr-both spacer-10">&nbsp;</div>
<?php $this->load->view('common/cms-footer'); ?>
